<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="MapprService,com.adobe.webapis.mappr.MapprService,getPhotoInfo,getRecent,getPlaceInfo,match,search" name="keywords">
<title>com.adobe.webapis.mappr.MapprService</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'MapprService - Adobe ActionScript 3.0 Library - mappr';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?com/adobe/webapis/mappr/MapprService.html&amp;com/adobe/webapis/mappr/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;MapprService</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class MapprService"); titleBar_setSubNav(false,false,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.adobe.webapis.mappr</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class MapprService</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">MapprService <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> com.adobe.webapis.URLLoaderBase</td>
</tr>
</table>
<p></p>
 Class that provides an ActionScript 3 interface to the remote
 Mappr API
   <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="http://www.mappr.com/about/api.phtml" target="mm_external">http://www.mappr.com/about/api.phtml</a>
</div>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#MapprService()">MapprService</a>(apiKey:String)</div>
<div class="summaryTableDescription">
  Constructor for Mappr class.</div>
</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getPhotoInfo()">getPhotoInfo</a>(photo_id:String, reconsider:Boolean = false):void</div>
<div class="summaryTableDescription">
   Retrieves information on the specified photo
  
   </div>
</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getPlaceInfo()">getPlaceInfo</a>(placeId:String):void</div>
<div class="summaryTableDescription">
  Retrieves a geographical place representing the
  place ID specified.</div>
</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getRecent()">getRecent</a>(placeId:String = null, perPage:uint = 10, page:uint = 1, group:Boolean = true):void</div>
<div class="summaryTableDescription">
  Retrieves a geographical place representing the
  place ID specified.</div>
</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#match()">match</a>(tags:Array, limit:uint = 3):void</div>
<div class="summaryTableDescription">
  Retrieves an Array of Place objects that contain
  information about the locations specified in the 
  parameters
     </div>
</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#search()">search</a>(tag:String, user_id:String = null, place_id:String = null, per_page:uint = 100, page:uint = 1, group:Boolean = true):void</div>
<div class="summaryTableDescription">
   Retrieves photos based on the specified parameters.</div>
</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onAPIError">onAPIError</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Broadcast if the Mappr returns an error in response to an API call.</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetPhotoInfo">onGetPhotoInfo</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Broadcast when results have been loaded from Mappr in response to
  getPhotoInfo() being called.</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetPlaceInfo">onGetPlaceInfo</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Broadcast when results have been loaded from Mappr in response to
  gePlaceInfo() being called.</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetRecent">onGetRecent</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Broadcast when results have been loaded from Mappr in response to
  getRecent() being called.</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onMatchResult">onMatchResult</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Broadcast when results have been loaded from Mappr in response to
  match() being called.</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onSearch">onSearch</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Broadcast when results have been loaded from Mappr in response to
  search() being called.</td><td class="summaryTableOwnerCol">MapprService</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="MapprService()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MapprService</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function MapprService(apiKey:String)</code><p>
  Constructor for Mappr class.
     </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">apiKey</span>:String</code> &mdash; The Mappr developer API necessary to use
  the Mappr API service. You can get a key from http://www.mappr.com
  </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="getPhotoInfo()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getPhotoInfo</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function getPhotoInfo(photo_id:String, reconsider:Boolean = false):void</code><p>
   Retrieves information on the specified photo
  
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">photo_id</span>:String</code> &mdash; The id of the photo to fetch information for.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">reconsider</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Either false to pull information from Mappr 
   without checking Flickr, or true to reevaluate tags and location
   guess, a slightly more resource-intensive process. Use with care.
  </td>
</tr>
</table>
</div>
<a name="getPlaceInfo()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getPlaceInfo</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getPlaceInfo(placeId:String):void</code><p>
  Retrieves a geographical place representing the
  place ID specified.
     </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">placeId</span>:String</code> &mdash; Place ID to retrieve information from. This
  is usually obtained from the Place object retrieved from the
  match call.
    </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../mappr/MapprService.html#match" target="">match</a>
<br>
<a href="../mappr/MapprService.html#com.adobe.webapis.mappr/Place" target="">com.adobe.webapis.mappr.Place</a>
<br>
<a href="http://www.mappr.com/about/api.phtml#mappr.place.getInfo" target="mm_external">http://www.mappr.com/about/api.phtml#mappr.place.getInfo</a>
</div>
</div>
<a name="getRecent()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getRecent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getRecent(placeId:String = null, perPage:uint = 10, page:uint = 1, group:Boolean = true):void</code><p>
  Retrieves a geographical place representing the
  place ID specified.
     </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">placeId</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Place ID to retrieve information from. This
  is usually obtained from the Place object retrieved from the
  match call.
    </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">perPage</span>:uint</code> (default = <code>10</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">page</span>:uint</code> (default = <code>1</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">group</span>:Boolean</code> (default = <code>true</code>)<code></code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../mappr/MapprService.html#match" target="">match</a>
<br>
<a href="../mappr/MapprService.html#com.adobe.webapis.mappr/Place" target="">com.adobe.webapis.mappr.Place</a>
<br>
<a href="http://www.mappr.com/about/api.phtml#mappr.place.getRecent" target="mm_external">http://www.mappr.com/about/api.phtml#mappr.place.getRecent</a>
</div>
</div>
<a name="match()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">match</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function match(tags:Array, limit:uint = 3):void</code><p>
  Retrieves an Array of Place objects that contain
  information about the locations specified in the 
  parameters
     </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">tags</span>:Array</code> &mdash; An Array of locations to match.
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">limit</span>:uint</code> (default = <code>3</code>)<code></code> &mdash; The maximum number of Places to return. The default is 3.
    </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://www.mappr.com/about/api.phtml#mappr.place.match" target="mm_external">http://www.mappr.com/about/api.phtml#mappr.place.match</a>
</div>
</div>
<a name="search()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">search</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function search(tag:String, user_id:String = null, place_id:String = null, per_page:uint = 100, page:uint = 1, group:Boolean = true):void</code><p>
   Retrieves photos based on the specified parameters.
  
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">tag</span>:String</code> &mdash; The NSID of the user who's photo to 
   search. If this parameter isn't passed then everybody's
   public photos will be searched.
  
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">user_id</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A tag. Photos with the tag listed will be returned.
  
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">place_id</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A place ID. Photos in this place will be returned.
  
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">per_page</span>:uint</code> (default = <code>100</code>)<code></code> &mdash; Number of photos to return per page.
  
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">page</span>:uint</code> (default = <code>1</code>)<code></code> &mdash; The page of results to return. 
  
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">group</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Either true to show one photo per place 
   (depending on other parameters, e.g. omitting 'place_id' will
   return one photo per place), or false to show all photos 
   ungrouped.
  
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://www.mappr.com/about/api.phtml#mappr.photos.search" target="mm_external">http://www.mappr.com/about/api.phtml#mappr.photos.search</a>
</div>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:onAPIError"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onAPIError</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/MapprServiceErrorEvent.html"><code>com.adobe.webapis.mappr.events.MapprServiceErrorEvent</code></a>
<br>
<span class="label">MapprServiceErrorEvent.type property = </span><a href="events/MapprServiceErrorEvent.html#ON_API_ERROR"><code>com.adobe.webapis.mappr.events.MapprServiceErrorEvent.ON_API_ERROR</code></a>
<br><p>
  Broadcast if the Mappr returns an error in response to an API call.
   </p><p>
   The event type for the event broadcast when the remote
   API returns an error.
     </p></div>
<a name="event:onGetPhotoInfo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetPhotoInfo</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/MapprResultEvent.html"><code>com.adobe.webapis.mappr.events.MapprResultEvent</code></a>
<br>
<span class="label">MapprResultEvent.type property = </span><a href="events/MapprResultEvent.html#ON_GET_PHOTO_INFO"><code>com.adobe.webapis.mappr.events.MapprResultEvent.ON_GET_PHOTO_INFO</code></a>
<br><p>
  Broadcast when results have been loaded from Mappr in response to
  getPhotoInfo() being called.
   The event contains the following properties  
  data.photo A Photo instance with information about the specified photo. 
   </p><p>
   The event type for the event broadcast when info has
  been loaded in response to a call to the getPhotoInfo API.
     </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../mappr/MapprService.html#getPhotoInfo" target="">getPhotoInfo</a>
<br>
<a href="../mappr/MapprService.html#com.adobe.webapis.mappr/Photo" target="">com.adobe.webapis.mappr.Photo</a>
</div>
</div>
<a name="event:onGetPlaceInfo"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetPlaceInfo</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/MapprResultEvent.html"><code>com.adobe.webapis.mappr.events.MapprResultEvent</code></a>
<br>
<span class="label">MapprResultEvent.type property = </span><a href="events/MapprResultEvent.html#ON_GET_PLACE_INFO"><code>com.adobe.webapis.mappr.events.MapprResultEvent.ON_GET_PLACE_INFO</code></a>
<br><p>
  Broadcast when results have been loaded from Mappr in response to
  gePlaceInfo() being called.
   The event contains the following properties  
  data.places An array of Place instances with information about the specified place. 
   </p><p>
   The event type for the event broadcast when info has
  been loaded in response to a call to the getPlaceInfo API.
     </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../mappr/MapprService.html#getPlaceInfo" target="">getPlaceInfo</a>
<br>
<a href="../mappr/MapprService.html#com.adobe.webapis.mappr/Place" target="">com.adobe.webapis.mappr.Place</a>
</div>
</div>
<a name="event:onGetRecent"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetRecent</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/MapprResultEvent.html"><code>com.adobe.webapis.mappr.events.MapprResultEvent</code></a>
<br>
<span class="label">MapprResultEvent.type property = </span><a href="events/MapprResultEvent.html#ON_GET_RECENT"><code>com.adobe.webapis.mappr.events.MapprResultEvent.ON_GET_RECENT</code></a>
<br><p>
  Broadcast when results have been loaded from Mappr in response to
  getRecent() being called.
   The event contains the following properties  
  data.photos An Array of Photo instances. 
  data.perPage Number of items displayed per page.
  data.page Current page set of Photos that the result represents.
   </p><p>
   The event type for the event broadcast when info has
  been loaded in response to a call to the getRecent API.
     </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../mappr/MapprService.html#getRecent" target="">getRecent</a>
<br>
<a href="../mappr/MapprService.html#com.adobe.webapis.mappr/Photo" target="">com.adobe.webapis.mappr.Photo</a>
</div>
</div>
<a name="event:onMatchResult"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onMatchResult</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/MapprResultEvent.html"><code>com.adobe.webapis.mappr.events.MapprResultEvent</code></a>
<br>
<span class="label">MapprResultEvent.type property = </span><a href="events/MapprResultEvent.html#ON_MATCH_RESULT"><code>com.adobe.webapis.mappr.events.MapprResultEvent.ON_MATCH_RESULT</code></a>
<br><p>
  Broadcast when results have been loaded from Mappr in response to
  match() being called.
   The event contains the following properties  
  data.places An Array of Place ojects. 
   </p><p>
   The event type for the event broadcast when places have
  been loaded in response to a call to the match API.
     </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../mappr/MapprService.html#match" target="">match</a>
<br>
<a href="../mappr/MapprService.html#com.adobe.webapis.mappr/Place" target="">com.adobe.webapis.mappr.Place</a>
</div>
</div>
<a name="event:onSearch"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onSearch</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/MapprResultEvent.html"><code>com.adobe.webapis.mappr.events.MapprResultEvent</code></a>
<br>
<span class="label">MapprResultEvent.type property = </span><a href="events/MapprResultEvent.html#ON_SEARCH"><code>com.adobe.webapis.mappr.events.MapprResultEvent.ON_SEARCH</code></a>
<br><p>
  Broadcast when results have been loaded from Mappr in response to
  search() being called.
   The event contains the following properties  
  data.photos An Array of Photo instances. 
  data.perPage Number of items displayed per page.
  data.page Current page set of Photos that the result represents.
   </p><p>
   The event type for the event broadcast when info has
  been loaded in response to a call to the search API.
     </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../mappr/MapprService.html#search" target="">search</a>
<br>
<a href="../mappr/MapprService.html#com.adobe.webapis.mappr/Photo" target="">com.adobe.webapis.mappr.Photo</a>
</div>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">
<footer> 
</footer>
</center>
</div>
</body>
</html>
<!-- -->
